import axios from '@/libs/api.request'
import cookie from "vux/src/tools/cookie";

//获取店铺列表
export const getShopList = ({shopType,shopName}) =>{
  const data={
    shopType,
    shopName,
  }
  return axios.request({
    url: 'Shop/getShopList',
    data,
    method: 'post',
  })
}

//获取店铺详情信息
export const getShopDetail = (id) =>{
  return axios.request({
    url: 'Shop/getShopDetail',
    data:{ id },
    method: 'post',
  })
}
